﻿<style>
    .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
        border: 1px solid #e1e1e1;
    }
</style>
<div id="permissionUser" style="display: none;">
    <div class="row" style="padding: 5px">
        <div class="col-md-12">
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                    <li class="pull-left header">
                        <i class="fa fa-users"></i> 使用情况列表
                    </li>
                    <li class="active">
                        <a href="#role" data-toggle="tab" aria-expanded="true">使用角色</a>
                    </li>
                    <li class="">
                        <a href="#post" data-toggle="tab" aria-expanded="false">使用组</a>
                    </li>
                    <li class="">
                        <a href="#group" data-toggle="tab" aria-expanded="false">使用岗位</a>
                    </li>
                    <li class="">
                        <a href="#user" data-toggle="tab" aria-expanded="false">使用人员</a>
                    </li>
                    <li class="">
                        <a href="#organization" data-toggle="tab" aria-expanded="false">使用组织机构</a>
                    </li>

                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="role">

                    </div>
                    <div class="tab-pane" id="post">

                    </div>
                    <div class="tab-pane" id="group">

                    </div>
                    <div class="tab-pane" id="user">

                    </div>
                    <div class="tab-pane" id="organization">

                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="role-template" type="text/html">
    
    <div class="box-body ">
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <th width="10%">编号</th>
                    <th width="20%" align="left">代码</th>
                    <th width="30%" align="left">名称</th>
                    <th width="40%" align="left" class="noborder">组织机构</th>
                </tr>

                {{each Role as value i}}
                <tr class="">
                    <td align="center">{{i + 1}}</td>
                    <td> {{value.Code}}</td>
                    <td> {{value.Name}}</td>
                    <td align="left"> {{value.Organization}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>

</script>

<script id="post-template" type="text/html">


    <div class="box-body">
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <th width="10%">编号</th>
                    <th width="20%" align="left">代码</th>
                    <th width="30%" align="left">名称</th>
                    <th width="40%" align="left" class="noborder">组织机构</th>
                </tr>
                {{each Post as value i}}
                <tr class="">
                    <td align="center">{{i + 1}}</td>
                    <td> {{value.Code}}</td>
                    <td> {{value.Name}}</td>
                    <td align="left"> {{value.Organization}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>
</script>

<script id="group-template" type="text/html">

    <div class="box-body">
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <th width="10%">编号</th>
                    <th width="20%" align="left">代码</th>
                    <th width="30%" align="left">名称</th>
                    <th width="40%" align="left" class="noborder">组织机构</th>
                </tr>
                {{each Group as value i}}
                <tr class="">
                    <td align="center">{{i + 1}}</td>
                    <td> {{value.Code}}</td>
                    <td> {{value.Name}}</td>
                    <td align="left"> {{value.Organization}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>

</script>

<script id="user-template" type="text/html">

    <div class="box-body">
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <th width="10%">编号</th>
                    <th width="20%" align="left">代码</th>
                    <th width="30%" align="left">名称</th>
                    <th width="40%" align="left" class="noborder">组织机构</th>
                </tr>
                {{each User as value i}}
                <tr class="">
                    <td align="center">{{i + 1}}</td>
                    <td> {{value.Code}}</td>
                    <td> {{value.Name}}</td>
                    <td align="left"> {{value.Organization}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>

</script>

<script id="organization-template" type="text/html">

    <div class="box-body">
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <th width="10%">编号</th>
                    <th width="20%" align="left">代码</th>
                    <th width="30%" align="left">名称</th>
                    <th width="40%" align="left" class="noborder">组织机构</th>
                </tr>
                {{each Organization as value i}}
                <tr class="">
                    <td align="center">{{i + 1}}</td>
                    <td> {{value.Code}}</td>
                    <td> {{value.Name}}</td>
                    <td align="left"> {{value.Organization}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>

</script>
